Developer --> Technical Publications
PATHMac OS 8 Developer Documentation > Human Interface Toolbox > Dialog Manager >

Mac OS 8 Dialog Manager Reference


Alert Type Constants

You can pass constants of type AlertType in the inAlertType parameter of StandardAlert to specify the type of alert box you wish to create. Alert type constants are available with Appearance Manager 1.0 and later.

enum {                      
    kAlertStopAlert     = 0,
    kAlertNoteAlert     = 1,
    kAlertCautionAlert  = 2,
    kAlertPlainAlert    = 3
};
typedef SInt16 AlertType;

Constant descriptions

kAlertStopAlert
Stop alert box.
kAlertNoteAlert
Note alert box.
kAlertCautionAlert
Caution alert box.
kAlertPlainAlert
Alert box with no icon.

© 1998 Apple Computer, Inc. - (Last Updated 19 Nov 98)

Previous | Back Up One Level | Next |